package com.zqxq.lottery.feign;

import com.zqxq.common.constant.Result;
import com.zqxq.lottery.entity.vo.order.UserOrderVO;
import com.zqxq.lottery.entity.vo.user.UserInfoVO;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.cloud.netflix.feign.FeignClientsConfiguration;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "api-offline", configuration = FeignClientsConfiguration.class)
public interface LotteryServerFeignClient {

    @RequestMapping(value="/offline/split/order", method = RequestMethod.POST)
    Result splitOrder(@RequestParam("orderId") String orderId);

}
